Skip to content

Update for Cobbler v4.0.0b1 - #95

Merged
SchoolGuy merged 4 commits into
mainfrom
feature/uefi-source-tree-path-parity
Aug 18, 2026
Merged

Update for Cobbler v4.0.0b1#95
SchoolGuy merged 4 commits into
mainfrom
feature/uefi-source-tree-path-parity

Conversation

@SchoolGuy

@SchoolGuy SchoolGuy commented Aug 18, 2026

Copy link
Copy Markdown
Member

This PR adds support for the latest changes from the recent Cobbler Alphas and Beta.

  • Virt-Options: New field uefi
  • Distro: new field source_tree_path
  • Implementation for cobbler signature reload
  • Updated pre-commit config
  • Use of the new Docker images for testing.

@SchoolGuy
SchoolGuy force-pushed the feature/uefi-source-tree-path-parity branch from eb34798 to 59bc0f2 Compare August 18, 2026 10:42
@SchoolGuy SchoolGuy changed the title Feature/uefi source tree path parity Update for Cobbler v4.0.0b1 Aug 18, 2026
@github-project-automation github-project-automation Bot moved this to Pull Requests in Golang CLI Aug 18, 2026
@SchoolGuy
SchoolGuy marked this pull request as ready for review August 18, 2026 11:14
Cobbler 4.0.0a5-b1 added VirtOption.uefi (Profile/System/Image) and
Distro.source_tree_path; expose them as --virt-uefi and
--source-tree-path once cobblerclient ships the corresponding fields.

background_signature_reload is now implemented server-side (closes the
gap tracked by cobbler#3791), so wire up `signature reload` to call
cobblerclient's existing BackgroundSignatureReload instead of printing
a stub message.
Run `pre-commit migrate-config` to replace the deprecated `commit`
stage name with `pre-commit`.
Cobbler now publishes a minimal pre-built runtime image
(ghcr.io/cobbler/cobblerd, tagged latest and by exact release)
instead of requiring downstream consumers to build it from source.
Use it directly instead of cloning cobbler/cobbler and building
docker/develop/develop.dockerfile locally on every test run - no more
git clone, no more compiling Cobbler from source.

- testing/start.sh: drop the git clone/checkout and `docker build`
  steps; pin a `cobbler_image_tag` instead of a commit SHA. Since
  there's no /code source mount to invoke it from anymore, run
  testing/import.py from the host (it's pure-stdlib Python) once the
  server is ready, instead of chaining it into the container's
  startup command.
- testing/compose.yml: pull ghcr.io/cobbler/cobblerd instead of
  building cobbler-dev; talk to cobblerd's raw XML-RPC port (25151)
  directly instead of proxying through the dev image's Apache on
  port 80; set COBBLER_XMLRPC_BIND_ADDRESS=0.0.0.0 so the daemon
  accepts connections from outside its container; drop `privileged:
  true` (confirmed unneeded for the minimal image, which has no
  supervisor/multi-daemon setup).
- Makefile / testing/.cobbler.yaml: point COBBLER_SERVER_URL at
  http://localhost:25151/ instead of the old Apache-proxied
  :8081/cobbler_api path, which no longer exists.
- .github/workflows/testing.yml: matrix now pins a Cobbler release
  tag (v4.0.0b1) instead of a commit SHA, used directly as the image
  tag.

Verified locally via `make test`, including a manual smoke test of
background_import against the bare image (needed a `:z` SELinux
label on the ISO bind mount, and no --privileged).
@SchoolGuy
SchoolGuy force-pushed the feature/uefi-source-tree-path-parity branch from e6b8412 to b77d905 Compare August 18, 2026 11:27
@SchoolGuy
SchoolGuy merged commit 0f664a0 into main Aug 18, 2026
22 checks passed
@github-project-automation github-project-automation Bot moved this from Pull Requests to Done in Golang CLI Aug 18, 2026
@SchoolGuy
SchoolGuy deleted the feature/uefi-source-tree-path-parity branch August 18, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant